Total Complexity | 37 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 321 |
Lines of code | 138 |
Logical lines of code | 55 |
Comment lines | 131 |
Methods | 11 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_invoice_number() | 49 | 7 | 33 | |
_log_invoice_number_activity() | 56 | 8 | 16 | |
add_purchase_number_number_to_checkout_posted_data() | 64 | 6 | 9 | |
show_invoice_payment_gateway_on_free_orders() | 61 | 4 | 12 | |
add_invoice_number_field() | 52 | 2 | 27 | |
maybe_save_purchase_number_number_on_checkout() | 72 | 3 | 5 | |
add_order_invoice_meta_box() | 61 | 2 | 13 | |
get_instance() | 70 | 2 | 6 | |
__construct() | 73 | 1 | 5 | |
view_order_invoice_meta_box() | 79 | 1 | 3 | |
run() | 64 | 1 | 9 |